/*
Coded by Aydin Gurel, 2003
The code is free, but please contact me if you wish to use the code entirely or partially in any kind of project so that I can reference it and please don't delete these lines so that other people can reach this information. Also, please inform me if you encounter a bug.
aydingurel@hotmail.com
http://aydingurel.brinkster.com/neural
*/

// represents a pattern
class Pattern {
	public double[] input;
	public double[] target;
	public boolean selected;
	// constructor
	public Pattern (double[] temp_inputs, double[] temp_targets) {
		input = new double[temp_inputs.length];
		target = new double[temp_targets.length];
		for ( int i = 0; i < temp_inputs.length; i++) {
			input[i] = temp_inputs[i];
		}
		for ( int i = 0; i < temp_targets.length; i++) {
			target[i] = temp_targets[i];
		}
		selected = false;
	}
}
